//
//  ShareCell.m
//  KeleAppProject
//
//  Created by 周岑 on 2018/1/21.
//  Copyright © 2018年 Cen Zhou. All rights reserved.
//

#import "ShareCell.h"

@implementation ShareCell


- (instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self loadSubviewsOnShareCell];
    }
    return self;
}

- (void)loadSubviewsOnShareCell{
    
    UIImageView *shareImageView = [[UIImageView alloc]init];
    self.logoImageView = shareImageView;
    [self.contentView addSubview:shareImageView];
    [shareImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.equalTo(self.contentView);
        make.width.height.mas_equalTo(50*WIDTH);
    }];
    
    
    UILabel *tintLb = [[UILabel alloc]init];
    self.tint = tintLb;
    tintLb.textColor = KLColor_B12;
    tintLb.font = [UIFont fontWithName:@"PingFangSC-Regular" size:12*WIDTH];
    [self.contentView addSubview:tintLb];
    [tintLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.contentView);
        make.top.equalTo(shareImageView.mas_bottom).offset(15*HEIGHT);
    }];
}

@end
